package org.ehe.business.drawing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.business.drawing.domain.DesignDrawingSite;
import org.ehe.business.drawing.domain.bo.DesignDrawingSiteBo;
import org.ehe.business.drawing.domain.vo.DesignDrawingSiteVo;
import org.ehe.common.mybatis.core.page.PageQuery;
import org.ehe.common.mybatis.core.page.TableDataInfo;

import java.util.List;

/**
 * @author :zhangnn
 * @className :DesignDrawingSiteService
 * @description: TODO
 * @date 2025-09-25 10:02:57
 */
public interface DesignDrawingSiteService extends IService<DesignDrawingSite> {

    /** 树形列表 */
    List<DesignDrawingSiteVo> treeList(DesignDrawingSiteBo bo);

    /** 新增点位 */
    Long addSite(DesignDrawingSiteBo bo);

    /** 编辑点位 */
    Boolean editSite(DesignDrawingSiteBo bo);

    /** 删除点位 */
    Boolean deleteSite(Long id);

    TableDataInfo<DesignDrawingSiteVo> pageQueryList(DesignDrawingSiteBo bo, PageQuery pageQuery);
}
